home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Fatted Calf
/
The Fatted Calf.iso
/
Applications
/
Conversion
/
Convert_PICT
/
Testing
/
hex_tests
/
pat=set1=newcolor.hex
< prev
next >
Wrap
Text File
|
1992-12-05
|
3KB
|
59 lines
% header
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
% end of app-specific header
00FF 0000 0000 00FF 00FF % pict size (bogus) and top left bottom right
0011 02FF % verson
0001 000A 0000 0000 00FF 00FF % Clip region. Added to keep Mac tester happy.
0030 0000 0000 00FF 00FF % draw bounding rect
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% This test set seeks to demonstrate that the primary object
% manipulations (filling, painting, erasing, framing) work as
% they should with patterns. It doesn't test all opcodes. Merely
% a representative subset.
% This test confirms that it works properly with pict 2 style colors
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
0002 0008 142A 552A 1408 % back pat (grey diamonds)
0009 7789 8f8f 7798 f8f8 % pen pat (the black dimpled circles one)
000A 8244 3944 8201 0101 % fill pat
%
% Use new-style colors
%
001A 0000 0000 FFFf % background color (blue)
001B FFFf FFFf 0000 % foreground color (yellow)
000B 0010 0010 % roundrect oval size
% draw lines along its four sides
0020 0010 0000 0010 00FF
0020 0000 0010 00FF 0010
0020 0050 0000 0050 00FF
0020 0000 0050 00FF 0050
0020 0000 0080 00FF 0080
0020 0000 00C0 00FF 00C0
0020 0080 0000 0080 00FF
0020 00C0 0000 00C0 00FF
% Frame a rectangle
0030 0010 0010 0050 0050
% paint an adjacent roundrect
0041 0010 0080 0050 00C0
% try to invert part of the last rectangle with an arc
0063 0010 0080 0050 00C0 0010 00A0
% fill an oval below that one
0054 0080 0080 00C0 00C0
% erase an arc
0062 0080 0010 00C0 0050 0010 00A0
00FF % end